EDD\Stats D

Total Complexity 281
Dependencies 5
Dependents 18
Total lines 3,215
Lines of code 1,532
Logical lines of code 754
Comment lines 1,167
Methods 46
Properties 4

Methods 46

Method Rating Maintainability Complexity Lines of code
parse_query()
C
33 25 97
get_order_item_earnings()
B
31 14 125
get_amount_column_and_function()
B
43 18 43
get_gateway_data()
B
38 16 68
maybe_format()
B
44 17 43
get_order_item_count()
A
37 13 71
pre_query()
A
44 14 41
get_customer_order_count()
A
40 9 63
get_order_item_refund_count()
A
40 9 60
get_tax_by_location()
A
44 10 43
get_average_refund_time()
A
42 9 49
get_customer_count()
A
45 8 43
get_tax()
A
41 7 55
get_order_earnings()
A
42 7 53
generate_relative_data()
A
48 8 33
get_file_download_count()
A
44 7 42
generate_relative_date_query_sql()
A
55 8 18
generate_relative_markup()
S
51 7 23
get_most_valuable_order_items()
S
42 5 51
get_order_refund_amount()
S
44 5 47
get_customer_lifetime_value()
S
46 5 40
get_order_count()
S
46 4 41
get_ratio_of_discounted_orders()
S
50 4 29
get_average_file_download_count()
S
51 4 26
get_discount_savings()
S
52 4 22
get_most_popular_discounts()
S
50 3 29
get_most_valuable_customers()
S
51 3 26
get_refund_rate()
S
51 3 26
__construct()
S
48 2 35
get_discount_usage_count()
S
55 3 18
get_gateway_earnings()
S
58 3 17
get_busiest_day()
S
51 2 27
get_most_downloaded_products()
S
53 2 24
get_average_discount_amount()
S
54 2 20
get_order_refund_count()
S
64 3 10
generate_price_id_query_sql()
S
70 3 5
get_customer_age()
S
59 2 14
get_db()
S
72 2 5
set_date_ranges()
S
63 2 9
get_revenue_type_statuses()
S
71 2 6
get_revenue_type_order_types()
S
69 2 7
get_gateway_average_value()
S
63 1 11
post_query()
S
81 1 3
get_gateway_sales()
S
72 1 5
get_gateway_refund_amount()
S
70 1 6
get_placeholder_string()
S
77 1 3